package com.yuexunit.finance.project.action.v1.model.output;

import java.util.Date;

import com.yuexunit.util.StringUtil;
import com.yuexunit.web.annotation.Parameter;

/**
*@version 创建时间：2017年5月26日 下午1:45:25
*@author wenwenlong
*类说明
*/

public class SignatureDetail {
	@Parameter(name = "Id", description = "签章ID")
	private Long Id;
	
	@Parameter(name = "enterpriseId", description = "企业信息ID")
	private Long enterpriseId;
	
	@Parameter(name = "enterpriseName", description = "企业名称")
	private String enterpriseName;

	@Parameter(name = "createDateTime", description = "创建时间")
	private Date createDateTime;
	
	@Parameter(name = "submitDateTime", description = "提交时间")
	private Date submitDateTime;
	
	@Parameter(name = "auditDateTime", description = "审核时间")
	private Date auditDateTime;
	
	@Parameter(name = "legalPerson", description = "法人代表")
	private String legalPerson;

	@Parameter(name = "sealType", description = "签章类型 1:个人/2:企业")
	private Integer sealType;
	
	@Parameter(name = "sealSrc", description = "签章预览")
	private String sealSrc;
	
	@Parameter(name = "data", description = "签章data")
	private String data;
	
	@Parameter(name = "data", description = "是否启用")
	private Boolean enabled;
	
	@Parameter(name = "hText", description = "横向文")
	private String hText;
	
	@Parameter(name = "qText", description = "下弦文")
	private String qText;

	@Parameter(name = "sealName", description = "sealName")
	private String sealName;
	
	@Parameter(name = "status", description = "status")
	private Integer status = 1;
	
	@Parameter(name = "width", description = "width")
	private Integer width;

	@Parameter(name = "height", description = "height")
	private Integer height;
	
	@Parameter(name = "rejReason", description = "rejReason")
	private String rejReason;
	
	@Parameter(name = "modifyDate", description = "modifyDate")
	private String modifyDate;
	
	@Parameter(name = "type", description = "type")
	private Integer type = 2;
	
	@Parameter(name = "imgUrl", description = "imgUrl")
	private String imgUrl;
	
	@Parameter(name = "id", description = "id")
	private Integer id;
	
	@Parameter(name = "isDefault", description = "isDefault")
	private Integer isDefault = 0;
	
	@Parameter(name = "sealWay", description = "sealWay")
	private Integer sealWay = 1;
	
	@Parameter(name = "originUrl", description = "originUrl")
	private String originUrl;
	
	@Parameter(name = "createDate", description = "createDate")
	private String createDate;
	
	@Parameter(name = "templateName", description = "templateName")
	private String templateName;
	
	@Parameter(name = "auditState", description = "审批状态")
	private Integer auditState;
	
	@Parameter(name = "auditStateView", description = "审批状态")
	private String auditStateView;
	
	@Parameter(name = "modelType", description = "模板类型")
	private Integer modelType;
	
	public String getAuditStateView() {
		if (null == auditState) {
			return "";
		} else if (auditState == 1) {
			return "未审核";
		} else if (auditState == 2) {
			return "审核通过";
		} else if (auditState == 3) {
			return "审核拒绝";
		}
		return "";
	}

	public void setAuditStateView(String auditStateView) {
		this.auditStateView = auditStateView;
	}

	public Integer getAuditState() {
		return auditState;
	}

	public void setAuditState(Integer auditState) {
		this.auditState = auditState;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getSealName() {
		return sealName;
	}

	public void setSealName(String sealName) {
		this.sealName = sealName;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getWidth() {
		return width;
	}

	public void setWidth(Integer width) {
		this.width = width;
	}

	public Integer getHeight() {
		return height;
	}

	public void setHeight(Integer height) {
		this.height = height;
	}

	public String getRejReason() {
		return rejReason;
	}

	public void setRejReason(String rejReason) {
		this.rejReason = rejReason;
	}

	public String getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(String modifyDate) {
		this.modifyDate = modifyDate;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public Integer getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(Integer isDefault) {
		this.isDefault = isDefault;
	}

	public Integer getSealWay() {
		return sealWay;
	}

	public void setSealWay(Integer sealWay) {
		this.sealWay = sealWay;
	}

	public String getOriginUrl() {
		return originUrl;
	}

	public void setOriginUrl(String originUrl) {
		this.originUrl = originUrl;
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public String getTemplateName() {
		return templateName;
	}

	public void setTemplateName(String templateName) {
		this.templateName = templateName;
	}

	public void setId1(Integer id) {
		this.id = id;
	}
	
	public Integer getId1() {
		return id;
	}

	public String gethText() {
		if (StringUtil.isBlank(hText)) {
			return "";
		}
		return hText;
	}

	public void sethText(String hText) {
		this.hText = hText;
	}

	public String getqText() {
		if (StringUtil.isBlank(hText)) {
			return "";
		}
		return qText;
	}

	public void setqText(String qText) {
		this.qText = qText;
	}

	public Boolean getEnabled() {
		return enabled;
	}

	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public Long getId() {
		return Id;
	}

	public void setId(Long id) {
		Id = id;
	}

	public Long getEnterpriseId() {
		return enterpriseId;
	}

	public void setEnterpriseId(Long enterpriseId) {
		this.enterpriseId = enterpriseId;
	}

	public String getEnterpriseName() {
		return enterpriseName;
	}

	public void setEnterpriseName(String enterpriseName) {
		this.enterpriseName = enterpriseName;
	}

	public Date getCreateDateTime() {
		return createDateTime;
	}

	public void setCreateDateTime(Date createDateTime) {
		this.createDateTime = createDateTime;
	}

	public String getLegalPerson() {
		return legalPerson;
	}

	public void setLegalPerson(String legalPerson) {
		this.legalPerson = legalPerson;
	}

	public Integer getSealType() {
		return sealType;
	}

	public void setSealType(Integer sealType) {
		this.sealType = sealType;
	}

	public String getSealSrc() {
		return sealSrc;
	}

	public void setSealSrc(String sealSrc) {
		this.sealSrc = sealSrc;
	}

	public Date getSubmitDateTime() {
		return submitDateTime;
	}

	public void setSubmitDateTime(Date submitDateTime) {
		this.submitDateTime = submitDateTime;
	}

	public Date getAuditDateTime() {
		return auditDateTime;
	}

	public void setAuditDateTime(Date auditDateTime) {
		this.auditDateTime = auditDateTime;
	}

	public Integer getModelType() {
		if (null == modelType) {
			return 1;
		}
		return modelType;
	}

	public void setModelType(Integer modelType) {
		this.modelType = modelType;
	}
}
